import {axiosD, axiosG, axiosK, axiosP} from "@/api";

/**
 * @module 班次信息
 * */
export const addShiftApi = data  => axiosK("shift/addShift", data); // 添加班次信息
export const delShiftApi = data => axiosD("shift/delShift", data); // 删除班次信息
export const editShiftApi = data => axiosP("shift/editShift", data); // 更改班次信息
export const exportShiftApi = data => axiosG("shift/exportShift", data); // 导出班次信息列表
export const getShiftApi = data => axiosG("shift/getShift", data); // 获得班次信息详情
export const pageShiftApi = data => axiosG("shift/pageShift", data); // 获得班次信息列表
export const bookTicket = data => axiosG("shift/bookTicket", data); // 订票
export const getTicket = data => axiosG("shift/getTicket", data); // 打印车票
